package com.laogao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.laogao.dto.ExamDto;
import com.laogao.entity.Exam;

public interface ExamService extends IService<Exam> {
    /**
     * 添加试卷
     *
     * @param examDto                试卷
     * @param questionCount          问题数量
     * @param optionCountPerQuestion 问题选项数量
     */
    void saveExamWithAll(ExamDto examDto, int questionCount, int optionCountPerQuestion);
}